{extend name="property/public/insidePageBase" /}
{block name="title"}添加车场{/block}
{block name="body"}
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <label class="layui-form-label">车场筛选</label>
                <div class="layui-input-block">
                    <select name="parking_id" lay-filter="parking_id" lay-search>
                        <option value="">--请选择--</option>
                        {foreach $parkingNameData as $v}
                        <option value="{$v['id']}" >{$v['iot_name']}</option>
                        {/foreach}
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label indispensable">车牌号码</label>
                <div class="layui-input-block">
                    <input type="text" name="plate_number" placeholder="请输入" class="layui-input" lay-verify="required" autocomplete="off"/>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注说明</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入"  name="remark" class="layui-textarea"></textarea>
                </div>
            </div>

            <div class="layui-form-item layui-hide">
                <button type="button" class="layui-btn layui-btn-primary replaceUploadImg toggleUpload" lay-data="{}"></button>
                <button class="layui-btn" lay-submit lay-filter="submitBtn" id="submitBtn">提交</button>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="js"}
{__block__}
<script>
    layui.use(['form', 'layer'], function () {
        var form = layui.form,layer = layui.layer,  $ = layui.$;
    });
</script>
{/block}